build: add ostree-soup-* to build process when configured with avahi
authorMarcus Folkesson <marcus.folkesson@gmail.com>
Tue, 3 Jul 2018 08:02:46 +0000 (10:02 +0200)
committerAtomic Bot <atomic-devel@projectatomic.io>
Tue, 3 Jul 2018 19:42:49 +0000 (19:42 +0000)
commit8af389b758970ce73929c84315505ac8410f355b
tree78fefb6dce170e6ebb4547889a6f1f7df3519c1b
parenta0527e70866bbb29f98e72b3e697f886b3aa8393
build: add ostree-soup-* to build process when configured with avahi

Avoid getting these link errors:
    ./.libs/libostree-1.so: undefined reference to `soup_uri_set_path'
    ./.libs/libostree-1.so: undefined reference to `soup_uri_new'
    ./.libs/libostree-1.so: undefined reference to `soup_uri_free'
    ./.libs/libostree-1.so: undefined reference to `soup_uri_set_scheme'
    ./.libs/libostree-1.so: undefined reference to `soup_uri_to_string'
    ./.libs/libostree-1.so: undefined reference to `soup_uri_set_host'
    ./.libs/libostree-1.so: undefined reference to `soup_uri_set_port'
    collect2: error: ld returned 1 exit status

Reproduce with:
    ./configure --with-avahi --without-soup

Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Closes: #1666
Approved by: cgwalters
Makefile-libostree.am